#include <iostream>
using namespace std;

class Base {
	public:
		int k;
		Base(int n): k(n) {}
};

class Big {
	public:
		int v;
		Base b;
		Big(int n): v(n), b(n) {}
		Big(const Big &x): v(x.v), b(x.b) {}
};
int main() {
	Big al(5);
	Big a2 = al;
	cout << al.v << "," << al.b.k << endl;
	cout << a2.v << "," << a2.b.k << endl;
	return 0;
}
